package com.base.sms.model.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 验证码
 *
 * @author becker
 */
public class VerificationCode implements Serializable {

    /**
     * 手机号
     */
    private String phone;

    /**
     * 验证码
     */
    private String code;

    /**
     * 识别码
     */
    private String identificationCode;

    /**
     * 可重试时间
     */
    private LocalDateTime retryTime;

    /**
     * 过期时间
     */
    private LocalDateTime expirationTime;


    public String getPhone() {
        return this.phone;
    }

    public String getCode() {
        return this.code;
    }

    public String getIdentificationCode() {
        return this.identificationCode;
    }

    public LocalDateTime getRetryTime() {
        return this.retryTime;
    }

    public LocalDateTime getExpirationTime() {
        return this.expirationTime;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setIdentificationCode(String identificationCode) {
        this.identificationCode = identificationCode;
    }

    public void setRetryTime(LocalDateTime retryTime) {
        this.retryTime = retryTime;
    }

    public void setExpirationTime(LocalDateTime expirationTime) {
        this.expirationTime = expirationTime;
    }

}